SGGetVideoRect
TheSGGetVideoRect
function allows you to determine the portion of the source video image that is to be captured. Use theSGSetVideoRect
function, which is described in the previous section, to set the dimensions of this rectangle.
pascal ComponentResult SGGetVideoRect (SGChannel c, Rect *r);
c
- Specifies the reference that identifies the channel for this operation. You obtain this reference from the
SGNewChannel
function, described on page 5-29.r
- Contains a pointer to a rectangle structure that is to receive the dimensions of the rectangle that defines the portion of the source video image to be captured.
DESCRIPTION
If you have not set a source rectangle, the sequence grabber captures the entire source video image, as defined by the source video boundary rectangle.SEE ALSO
You can obtain the dimensions of the source video boundary rectangle by calling theSGGetSrcVideoBounds
function, described on page 5-74.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help